home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.uh.edu!usenet
  2. From: Sensarn <txs53132@bayou.uh.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: pointer questions
  5. Date: 17 Mar 1996 02:55:31 GMT
  6. Organization: AEtna Insurance Agency
  7. Message-ID: <4ifuv3$bf6@masala.cc.uh.edu>
  8. References: <4ifatf$5a8u@uvaix3e1.comp.UVic.CA>
  9. NNTP-Posting-Host: sip-14273.public-dialups.uh.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
  14.  
  15. cgesy@uvaix.uvic.ca (Colin Gesy) wrote:
  16. >Could someone tell me if there is a difference
  17. >between the declaration "int *thing_ptr" and
  18. >"int* thing_ptr" ?
  19.  
  20. Not that I know of...
  21.  
  22. >
  23. >Also, what is the difference between "int& data"
  24. >and "int &data" ?
  25.  
  26. Same thing to me...
  27.  
  28. >
  29. >
  30. >What does the following statement do/mean? :
  31. >
  32. >     ((searchItem&) *this)._refCount++;   //searchItem is the class name
  33. >
  34.  
  35. Look in the manual for help on the "hidden" pointer called 'this'.
  36.  
  37. >
  38. >
  39. >Any help with one or more of these questions would be appreciated
  40. >Thanks :)
  41. >
  42. >
  43.  
  44.  
  45. -- 
  46. ______________________________
  47.  
  48. Steven Sensarn
  49. E-Mail - txs53132@bayou.uh.edu
  50. ______________________________
  51.  
  52.  
  53.